{% extends 'base.html' %}

{% block title %}
 my blogs
{% endblock %}

{% block content %}
<div>
    <ul>
        {% for blog in blogs %}
        {# 这里在文章标题新增了 a 标签 #}
        <li><a href="{{ blog.id }} ">{{ blog.title }}</a></li>
        {% endfor %}
    </ul>
    {% include 'paginator.html' %}
</div>
{% endblock %}

{% block ad %}
    {% load static %}
<img src="{% static './images/djbook.jpg' %}" width="400" alt="">
{% endblock %}